import Car.ACar;
import Car.PoliceCar.PoliceCar;
import Car.WaterCar.WaterCar;

public class App {
    public static void main(String[] args) throws Exception {
        ACar myCar = new WaterCar();
        System.err.println(myCar.Run());
        System.err.println(myCar.FlashLight());
        System.err.println(myCar.MakeVoice());
        myCar = new PoliceCar();
        System.err.println(myCar.Run());
        System.err.println(myCar.FlashLight());
        System.err.println(myCar.MakeVoice());

    }
}
